package day9;

public class t12 {
    public static void main(String[] args) {
        String number1="123";
        String number2="56";
        int n1=SchangeI(number1);
        int n2=SchangeI(number2);
        int result=n1*n2;
        String r1=IchangeS(result);
        System.out.println(r1);
    }
    public static int SchangeI(String str){
        int number=0;
        for(int i=0;i<str.length();i++){
            number=number*10+(str.charAt(i)-'0');
        }
        return number;
    }
    public static String IchangeS(int n){
        StringBuilder s= new StringBuilder();
        while(n!=0){
            s.append(n%10);
            n/=10;
        }
        StringBuilder s1 =s.reverse();
        return s1.toString();
    }
}
